#ifndef RECIEVE_T_HPP
#define RECIEVE_T_HPP

#include <QtGui>
#include <QtCore>
#include <QObject>

class recieve_t : public QWidget
{
	Q_OBJECT
public:
	QProgressBar	 *progress;
	QVBoxLayout	 *layout;
	QLabel		 *progress_info;
	int 		 sockfd;
	int		 file_size;
	char		 *file_name;

	void		 e_progress_bar(int);
	recieve_t(int fd, char *name, int size);

	void* recieve_file();

signals:
	void progress_bar(int);
};
#endif //RECIEVE_T_HPP
